@(archivedEvents: List[OpenTokArchive])


@import helper._
@import helper.twitterBootstrap._

@main("Archive List","list") {
<link href="@routes.Assets.at("css/bootstrap.css")" rel="stylesheet">
<div class="container">
    <h2>Event's list</h2>
    <table class="table table-striped table-bordered">
        <thead>
        <tr>
            <th  style="min-width:208px; max-width:900px;width:auto; white-space:nowrap;">Event</th>
            <th style="width:28px;"><a href="@routes.Calendar.blank()" title="Archived Video"><i class="icon-video"></i></a></th>
        </tr>
        </thead>
        <tbody>
        @if(archivedEvents != null && archivedEvents.size() > 0){
		@for(event <- archivedEvents){
        <tr>
            <td><a href="@routes.Calendar.edit(event.id)">@event.eventName</a></td>
            <td><a href="@routes.Application.renderLoadArchive(event.event.id)"><i class="icon-video"></i></a> </td>
        </tr>
        }
        }
        </tbody>
    </table>
    

</div>

}